<?PHP
	include_once 'utileFonctionMembre.inc.php';
   	
   	if(isset($_POST['pseudo'])&& isset($_POST['password'])){//si vient du formulaire
		$pseudo= trim($_POST['pseudo']);
		$password= trim($_POST['password']);
		if(isAuthentificationOK($pseudo,$password)){	
			header("location:membres.php");						
		}
		else {
			header("location:index.php");
		}
   	}else{
?>
<html>

	<head>
		<title>AKF - France C&#212;TE D'IVOIRE</title>
		<link rel="shortcut icon" href="/akf/images/logo_cote_d_ivoire.gif">
		<link rel="image_src" href="/akf/images/logo_cote_d_ivoire.gif">
		<link rel="stylesheet" type="text/css" href="css/styles.css">
	</head>

	<body>
		<div id="entete">
			<a href="accueil.php" alt="accueil"><img alt="embleme" src="/akf/images/embleme.jpg"></a>
		</div>
		<div id="nav">
		</div>
	<div id="content">
		<div id="menu">		
			<ul>
				
			</ul>
		</div>
		<div id="corps">
		<div  class="login">
	   		<p>	Merci de vous identifier !!!<br/></p>
	   		
		   	<div id="login">	   	   	
				<form  method="post" action="">					
					<label for="pseudo"> Pseudo    :</LABEL> <input type="text" name="pseudo" id="pseudo" /><br/>
					<label for="password" >Password: </label><input type="password" name="password" id="password"><br/>
					<input type="submit" value="valider"> &#160;<input type="reset" value="annuler"><br/><br/><br/><br/>
					
				</form>	
		   	</div>
	   	</div>
		</div>
	</div>
<?php	include ('footer_m.inc.php'); }?>